@model PopUpCategoryViewModel

@{
	string twoLettersCulture = new System.Globalization.CultureInfo(Culture).TwoLetterISOLanguageName;	
}

<div class="view-container">
  <!-- Form begin -->
  <div class="entity-form-container">
    @using (Html.BeginForm("", "", FormMethod.Post, new { id = "" })) {
      @Html.ValidationSummary(true)
      <fieldset>
        <legend>@Resources.CategoryResources.Category</legend>
		<div class="form">
          @Html.HiddenFor(model => model.Id)
			<div class="field">
			  <div class="label">
				@Html.Label(Resources.CategoryResources.Name)
			  </div>
			  <div class="editor">
				@Html.TextBoxFor(model => model.Name)
				@Html.ValidationMessageFor(model => model.Name)
			  </div>
			</div>
			<div class="field">
			  <div class="label">
				@Html.Label(Resources.CategoryResources.Description)
			  </div>
			  <div class="editor">
				@Html.TextBoxFor(model => model.Description)
				@Html.ValidationMessageFor(model => model.Description)
			  </div>
			</div>
		</div>
      </fieldset>
    }
    </div>
	<!-- Form end -->
</div>
<script type="text/javascript">
function @(ViewBag.Name)LoadScripts(detailName)
{
DefaultAddOrDetailPopUpEventTriggers("@(ViewBag.Name)-dialog");
}
</script>
